<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // 字符串类型
    const name = 'jack';
    const message = `hello jack`;
    const desc = `this is ${name} age is ${1 + 1} `; // 解析

    console.log(desc);
    // 数字类型
    const age = '20';
    const num = 100;
  </script>
</body>

</html>